package com.kmzx.one.project.entity;

import java.math.BigDecimal;
import java.util.Date;

public class ChannelBuying {

    private String id;
    private String userId;
    private String channelId;
    private String productId;
    private String skuId;
    private Date buyingTime;
    private long buyNum;
    private BigDecimal  payMoney;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ChannelBuying{");
        sb.append("id='").append(id).append('\'');
        sb.append(", userId='").append(userId).append('\'');
        sb.append(", channelId='").append(channelId).append('\'');
        sb.append(", productId='").append(productId).append('\'');
        sb.append(", skuId='").append(skuId).append('\'');
        sb.append(", buyingTime=").append(buyingTime);
        sb.append(", buyNum=").append(buyNum);
        sb.append('}');
        return sb.toString();
    }

    public String getId() {
        return id;
    }

    public ChannelBuying setId(String id) {
        this.id = id;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public ChannelBuying setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getChannelId() {
        return channelId;
    }

    public ChannelBuying setChannelId(String channelId) {
        this.channelId = channelId;
        return this;
    }

    public String getProductId() {
        return productId;
    }

    public ChannelBuying setProductId(String productId) {
        this.productId = productId;
        return this;
    }

    public String getSkuId() {
        return skuId;
    }

    public ChannelBuying setSkuId(String skuId) {
        this.skuId = skuId;
        return this;
    }

    public Date getBuyingTime() {
        return buyingTime;
    }

    public ChannelBuying setBuyingTime(Date buyingTime) {
        this.buyingTime = buyingTime;
        return this;
    }

    public long getBuyNum() {
        return buyNum;
    }

    public ChannelBuying setBuyNum(long buyNum) {
        this.buyNum = buyNum;
        return this;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public ChannelBuying setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
        return this;
    }
}
